package com.wuwei.elearning.question.service;

import com.wuwei.elearning.question.domain.SelfTest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wuwei.elearning.question.vo.TestVo;
import com.wuwei.elearning.utils.result.Result;

import java.util.Map;

/**
 * <p>
 * 学员自我练习时，用于保存自测记录试卷的表 服务类
 * </p>
 *
 * @author wuwei
 * @since 2024-04-09
 */
public interface SelfTestService extends IService<SelfTest> {

    Long batchInsert(Long selectedId, Long account,Integer testNum);

    Map<String, Object> batchGet(Long selfTestId, Long account);

    Result<String> submit(TestVo testVo, Long account);

    void deleteById(Long selfTestId, Long account);

}
